<?php
// +----------------------------------------------------------------------
// | tpadmin [a web common based ThinkPHP5]
// +----------------------------------------------------------------------
// | Copyright (c) 2016 tianpian
// +----------------------------------------------------------------------
// | Author: tianpian <tianpian0805@gmail.com>
// +----------------------------------------------------------------------
 

return [
	'code' => [
//		200 => 'OK'
//		401 => '请求需要用户验证' ,
//		404 => '找不到文件',
//		404 => '找不到文件',
        -2017 => 'error',    //-2017一般用来表示连接数据库时发生错误
        -10001 => '保存失败',
        -10002 => '信息查询失败',
        -10003 => 'code参数缺失',
        -10004 => 'encryptData参数缺失',
        -10005 => 'iv参数缺失',
        -10006 => 'signature参数缺失',
        -10007 =>  'JSON格式输入错误',
        -10008 =>  'openid参数缺失',
        -10009 =>  '你已经登陆过',
        -10010 =>  '您没有权限操作',


        //成功的
        10001 => '查询成功',
        10002 => '信息查询成功',
        10003 => '登陆成功',
        10008 => '操作成功',
        10009 => '发送成功',


        //错误
        -10011 => 'id参数缺失',
        -10012 => '名字参数缺失',
        -10013 => '操作失败',
        -10014 => '会员id缺失',
        -10015 => '销售经理cs_id缺失',
        -10016 => '入口类型参数缺失',
        -10017 => '该用户找不到',
        -10018 => '帐户名参数缺失',
        -10019 => '密码参数缺失',
        -10020 => '用户名或者密码错误',
        -10021 => '类型参数缺失',
        -10022 => 'id参数缺失',
        -10023 => '该店铺不存在',
        -10024 => '审核人参数缺失',
        -10025 => '审核信息参数缺失',
        -10026 => '审核状态参数缺失', 
        -10027 => '业务经理参数缺失', 
        -10028 => '订单号id参数缺失', 
        -10029 => '旧密码参数缺失', 
        -10030 => '新密码参数缺失', 
        -10031 => '确认密码参数缺失', 
        -10032 => '店铺id参数缺失', 
        -10033 => '电话号码参数缺失', 
        -10034 => '验证码参数缺失', 
        -10035 => '发送失败,你已经发送过了', 
        -10036 => '验证码错误', 
        -10037 => '经度参数缺失', 
        -10038 => '纬度参数缺失', 
        




        //微信返回的
        -40029 =>'无效的code值',
        -40163 =>'code值已经被使用',
        -40164 => '不在白名单内',



        


    ]
    
];    